#include "ScaleNode.h"

ScaleNode::ScaleNode(void)
{
}

ScaleNode::~ScaleNode(void)
{
}

ScaleNode::ScaleNode(float fxIn, float fyIn, float fzIn)
{
	fx = fxIn;
	fy = fyIn;
	fz = fzIn;
}

ScaleNode::ScaleNode(Vect3D* pScale)
{
	fx = pScale->x;
	fy = pScale->y;
	fz = pScale->z;
}

void ScaleNode::Transform(LPD3DXMATRIXSTACK mStack)
{
	mStack->ScaleLocal(fx, fy, fz);
}
